import http from "@/utils/http"

const prefixUrl = "/token"

export default {
  verify(params) {
    return http.post(prefixUrl + "/verify", params)
  },
  week(params) {
    return http.post(prefixUrl + "/week", params)
  },
  rsa(params) {
    return http.post(prefixUrl + "/rsa", params)
  },
  status() {
    return http.get(prefixUrl + "/status")
  },
  smscode(params){
    return http.get(prefixUrl + "/mobile/sms",params)
  },
  smsverify(params){
    return http.post(prefixUrl + "/mobile/verify",params)
  }
}
